package com.newy.core;

/**
 * 自定义的应用异常，便于页面错误处理。
 * @author linzongxue
 *
 */
public class AppException extends RuntimeException {
	private static final long serialVersionUID = 1624849826202736274L;

	public AppException() {
	}

	public AppException(String message) {
		super(message);
	}
	
	public AppException(String msgFormat, Object... args){
		super(String.format(msgFormat, args));
	}

	public AppException(Throwable cause) {
		super(cause);
	}

	public AppException(String message, Throwable cause) {
		super(message, cause);
	}
}
